package cn.edu.seu.cose.qol.model.dto.admin;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "admin")
public class AdminInstance {

	@XmlElement(name = "username")
	private String _username;

	@XmlElement(name = "password")
	private String _password;
	
	public AdminInstance() {
		this(null);
	}
	
	public AdminInstance(String username) {
		_username = username;
	}
	
	public String getUsername() {
		return _username;
	}
	
	public void setUsername(String username) {
		_username = username;
	}
	
	public String getPassword() {
		return _password;
	}
	
	public void setPassword(String password) {
		_password = password;
	}

}
